<?php
include(dirname(__FILE__).'/../../../includes.php5');

include_once($project_path.'/class/user/user.class.php5');
session_start();
include_once($project_path.'/class/fw/dictionary.class.php5');

userUser::checkSession();

$action=(isset($_GET['action'])?$_GET['action']:'');
switch($action)
{
	case 'about':
		include_once($project_path.'/class/fw/smarty.class.php5');
		include($project_path.'/install_report.php5');
		$smarty = new fwSmarty();
		$smarty->assign('packages_host', $conf['appli']['install']['host']);
		$smarty->assign('application_version', $conf['appli']['install']['version']);
		$smarty->assign('application_name', 'TicketTracking');

		echo 'about_popup.show("'.fwConverter::text2JSString($smarty->getContents('commun/about.tpl')).'");';
		break;
}
?>